package br.com.news.utils.database.interfaces;

import java.util.List;

import br.com.news.utils.database.beans.CategoriaBean;
import br.com.news.utils.database.exception.DataBaseServiceException;

public interface ICategoriaServiceDb extends IServiceBaseDb<CategoriaBean, Long> {

	public List<CategoriaBean> findCategoriaByUsuarioName(String login) throws DataBaseServiceException;
	
	public List<CategoriaBean> findCategoriaByStatus(boolean status) throws DataBaseServiceException;

	List<CategoriaBean> categoriasMaisAcessadas() throws DataBaseServiceException;

	Long quantidadeCarregadas(Long idCategoria);

	List<CategoriaBean> findByExample(CategoriaBean categoria);

}
